home *** CD-ROM | disk | FTP | other *** search
- Path: master.sapien.net!news
- From: jeffcobb@sapien.net (Jeff Cobb)
- Newsgroups: comp.lang.c++
- Subject: Re: CodeGuard / Error Detection Tools
- Date: Fri, 01 Mar 1996 23:24:21 GMT
- Organization: j%nki~wÇZ8L-BFGD44CT-1EA6BC82
- Message-ID: <313785a9.25310602@news.sapien.net>
- References: <4h2p0k$6lo@orion.supernet.ab.ca>
- NNTP-Posting-Host: ts008.sapien.net
- X-Newsreader: Forte Agent .99d/32.182
-
- silva@supernet.ab.ca (Kevin Berger) wrote:
-
- >We're considering some form of error detection for our Borland C++ (4.51) compiler.
- >Basically, we use the compiler to write DLL's, so our choices appear to be CodeGuard,
- >BoundsChecker, and MemCheck. It's hard to find any comparisons between them,
- >so we'd appreciate some feedback from other users who have tried any of these, especially CodeGuard.
- >Our criteria has been:
- > can it be used in a DLL?
- > can it locate the source line?
- > can it handle 16-bit code (we're not in Windows 95, yet)?
- > can it work with other c++ source code (we're using CodeBase from Sequiter)?
- > can it work with all the Borland workbench products?
- >Any hints/suggestions will also help.
-
- We use (for now) Bounds Checker. I code a lot of DLLs and Bounds
- Checker seems to be able to find a lot of errors, but you must use it
- in a special way to avoid it being confused by things like the string
- class that Borland supplies with 4.51 (specifically, the += operator
- makes Bounds Checker think it is a memory leak of either 12 or 64
- bytes). We too use Codebase 5.x and Bounds Checker has pinpointed GPF
- trubs in Sequiters code. The trick with Bounds Checker is to become
- VERY educated on its use and to keep up-to-date with NuMega for bug
- fixes.
-
- We have tried using CodeGuard at work with mixed results. When it
- works, it works well...and when it doesn't it will GPF your program,
- claiming that things in OWL are badly coded...go figure.
-
- On the brighter side, the news is that Bounds Checker's newest version
- will contain Parasoft Insure++ so this will be something to watch for.
-
- Hope this helps
-
- jeffcobb@sapien.net
-
-